summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
diff options
context:
space:
mode:
authorKimdonghan <dh32110@gmail.com>2025-12-03 18:27:43 +0900
committerKimdonghan <dh32110@gmail.com>2025-12-03 18:27:43 +0900
commit2f02e9ea125c3ec42afac84ec903767930335dd3 (patch)
tree70f8e0ee57f868d29e7a338db49c5cf228468376 /app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
parent7b2718ba47b69ed4b1bf20977cebe93393191839 (diff)
(김동한) 메뉴명과 화면 내 h태그 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
index 1d7786a5..e7109dcb 100644
--- a/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(procurement)/vendor-investigation/page.tsx
@@ -10,6 +10,7 @@ import { VendorsInvestigationTable } from "@/lib/vendor-investigation/table/inve
import { getVendorsInvestigation } from "@/lib/vendor-investigation/service"
import { searchParamsInvestigationCache } from "@/lib/vendor-investigation/validations"
import { InformationButton } from "@/components/information/information-button"
+import { useTranslation } from "@/i18n"
interface IndexPageProps {
searchParams: Promise<SearchParams>
}
@@ -17,6 +18,8 @@ interface IndexPageProps {
export default async function IndexPage(props: IndexPageProps) {
const searchParams = await props.searchParams
const search = searchParamsInvestigationCache.parse(searchParams)
+ const {lng} = await props.params
+ const {t} = await useTranslation(lng, 'menu')
const validFilters = getValidFilters(search.filters)
@@ -35,7 +38,7 @@ export default async function IndexPage(props: IndexPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 협력업체 실사 관리
+ {t('menu.vendor_management.investigation')}
</h2>
<InformationButton pagePath="evcp/vendor-investigation" />
</div>